#include <stdio.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
	if(argc!=2)
	{
		printf("Please give the PATH as an argument\n");
	
	}


	if(argc==2)
	{
		int i=chdir(argv[1]);
		if(i==-1)
		{
				printf("You dont have appropriate permissions for the PATH mentioned\n");
		}

	}

	
	return 0;
}
